function toUser(){
    let userID = document.getElementById("person-img").title;
    fetch("/tea",{
        method: "POST",
        headers: {
            "Content-Type": "application/json"
        },
        body: JSON.stringify({ userID: userID })
    })
        .then(response => response.text())
        .then(data => console.log(data))
        .catch(error => console.error('Error:', error));

}

function toStuSelect(id){
    let userID = document.getElementById("person-img").title;
    console.log(userID);
    let url = document.getElementById(id);
    url.href+=encodeURIComponent(userID);
}